//============== IV: Multiplayer - http://code.iv-multiplayer.com ==============
//
// File: RPCIdentifiers.h
// Project: Shared
// Author(s): jenksta
// License: See LICENSE in root directory
//
//==============================================================================

#pragma once

// Type used for rpc ids
typedef unsigned char RPCIdentifier;

enum eRPCIdentfiers
{
	// RPC's
	RPC_Message,
	RPC_NewObject,
	RPC_DeleteObject,
	RPC_NewBlip,
	RPC_DeleteBlip,
	RPC_NewActor,
	RPC_DeleteActor,
	RPC_NewCheckpoint,
	RPC_DeleteCheckpoint,
	RPC_NewPlayer,
	RPC_DeletePlayer,
	RPC_PlayerSpawn,
	RPC_OnFootSync,
	RPC_InVehicleSync,
	RPC_NewVehicle,
	RPC_DeleteVehicle,
	RPC_PassengerSync,
	RPC_SmallSync,
	RPC_EmptyVehicleSync,
	RPC_ConnectionRefused,
	RPC_JoinedGame,
	RPC_PlayerDeath,
	RPC_ScriptingSetModel,
	RPC_Command,
	RPC_Chat,
	RPC_PlayerJoin,
	RPC_CheckpointLeft,
	RPC_Death,
	RPC_VehicleEnterExit,
	RPC_HeadMovement,
	RPC_CheckpointEntered,
	RPC_NameChange,
	RPC_NewFile,
	RPC_DeleteFile,
	RPC_NewPickup,
	RPC_DeletePickup,

	// Scripting RPC's
	RPC_ScriptingTogglePayAndSpray,
	RPC_ScriptingToggleAutoAim,
	RPC_ScriptingGivePlayerWeapon,
	RPC_ScriptingSetPlayerHealth,
	RPC_ScriptingSetPlayerCameraPos,
	RPC_ScriptingSetPlayerCameraLookAt,
	RPC_ScriptingResetPlayerCamera,
	RPC_ScriptingSetPlayerCoordinates,
	RPC_ScriptingSetPlayerTime,
	RPC_ScriptingSetPlayerWeather,
	RPC_ScriptingSetPlayerGravity,
	RPC_ScriptingToggleControls,
	RPC_ScriptingSetHeading,
	RPC_ScriptingRemoveHelmet,
	RPC_ScriptingSetVehicleDirtLevel,
	RPC_ScriptingSetVehicleCoordinates,
	RPC_ScriptingSetVehicleRotation,
	RPC_ScriptingSetActorCoordinates,
	RPC_ScriptingSetActorHeading,
	RPC_ScriptingActorWalkToCoordinates,
	RPC_ScriptingSetSpawnLocation,
	RPC_ScriptingSetVehicleColor,
	RPC_ScriptingToggleRagdoll,
	RPC_ScriptingGivePlayerMoney,
	RPC_ScriptingGiveHelmet,
	RPC_ScriptingSetPlayerMoney,
	RPC_ScriptingDisplayText,
	RPC_ScriptingDisplayInfoText,
	RPC_ScriptingToggleFrozen,
	RPC_ScriptingSetVehicleHealth,
	RPC_ScriptingSetVehicleSirenState,
	RPC_ScriptingSetVehicleEngineState,
	RPC_ScriptingSetPlayerArmour,
	RPC_ScriptingSetPlayerMoveSpeed,
	RPC_ScriptingSetVehicleMoveSpeed,
	RPC_ScriptingSetVehicleTurnSpeed,
	RPC_ScriptingRemoveWeapons,
	RPC_ScriptingSetWantedLevel,
	RPC_ScriptingWarpPlayerIntoVehicle,
	RPC_ScriptingRemovePlayerFromVehicle,
	RPC_ScriptingSetBlipColor,
	RPC_ScriptingSetBlipSize,
	RPC_ScriptingToggleBlipShortRange,
	RPC_ScriptingToggleBlipRoute,
	RPC_ScriptingSetBlipName,
	RPC_ScriptingShowCheckpointForPlayer,
	RPC_ScriptingHideCheckpointForPlayer,
	RPC_ScriptingSetCameraBehindPlayer,
	RPC_ScriptingSetPlayerDucking,
	RPC_ScriptingSetPlayerInvincible,
	RPC_ScriptingToggleHUD,
	RPC_ScriptingToggleRadar,
	RPC_ScriptingToggleNames,
	RPC_ScriptingToggleAreaNames,
	RPC_ScriptingEventCall,
	RPC_ScriptingCancelVehicleEntry,
	RPC_ScriptingSetVehicleIndicators,
	RPC_ScriptingSetVehicleComponents,
	RPC_ScriptingSetVehicleVariation,
	RPC_ScriptingSoundVehicleHorn,
	RPC_ScriptingSetPlayerColor,
	RPC_ScriptingSetVehicleLocked,
	RPC_ScriptingSetPlayerClothes,
	RPC_ScriptingResetPlayerClothes,
	RPC_ScriptingSetTrafficLightState,
	RPC_ScriptingSetObjectPosition,
	RPC_ScriptingSetObjectRotation,
	RPC_ScriptingSetPickupPosition,
	RPC_ScriptingSetPickupRotation,
	RPC_ScriptingSetPickupValue,
	RPC_ScriptingSetHazardLights
};
